home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / OS / FWFiles / SLFileSp.xih < prev    next >
Encoding:
Text File  |  1996-09-16  |  19.8 KB  |  675 lines  |  [TEXT/MPS ]

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: SLFileSp.xih.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emitxih.dll: 2.33
  8.  */
  9.  
  10. /*
  11.  * 
  12.  *     File:                SLFilesp.idl
  13.  * 
  14.  *     Contains:            Interfaces for FW_OFileSpecification and FW_ODirectorySpecification classes
  15.  *     Release Version:    $ ODF 2 $
  16.  * 
  17.  *     Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  18.  * 
  19.  */
  20.  
  21.  
  22. #ifndef SOM_FW_OFileSpecification_xih
  23. #define SOM_FW_OFileSpecification_xih
  24.  
  25. #include <somcls.xh>
  26. #include <somcm.xh>
  27.  
  28. /*
  29.  * Passthru lines: File: "C.xih", "before"
  30.  */
  31. class FW_CPrivFileSpecification;
  32.  
  33. #ifndef SOM_FW_OFileSpecification_xh
  34. #include <SLFileSp.xh>
  35. #endif
  36.  
  37. /*
  38.  * Set the scope of methods functions
  39.  */
  40. #ifndef SOM_Scope
  41. #define SOM_Scope extern "C"
  42. #endif
  43.  
  44. #define FW_OFileSpecification_MaxNoMethods 12
  45.  
  46. /*
  47.  * -- Instance Data
  48.  */
  49.  
  50. /*
  51.  * -- Use best possible alignment for instance data slice.
  52.  */
  53. #if PRAGMA_ALIGN_SUPPORTED
  54. #  pragma options align=power
  55. #endif
  56. typedef struct FW_OFileSpecificationData {
  57.     FW_CPrivFileSpecification* fRep;
  58. } FW_OFileSpecificationData;
  59. #if PRAGMA_ALIGN_SUPPORTED
  60. #  pragma options align=reset
  61. #endif
  62.  
  63. /*
  64.  * -- Getdata Macro
  65.  */
  66.  
  67. /*
  68.  * -- This emitter treats Data Tokens as Thunks by default.
  69.  * -- Use the sc modifier "nothunks" to override this default.
  70.  */
  71. SOMEXTERN typedef FW_OFileSpecificationData* (* SOMLINK somTD_FW_OFileSpecification_DataThunk)(void*);
  72. #define FW_OFileSpecificationGetData(somSelf) \
  73.    (((somTD_FW_OFileSpecification_DataThunk)(FW_OFileSpecificationClassData.instanceDataToken))(somSelf))
  74.  
  75. /*
  76.  * -- Instance Data Access Macros for use in Method Procedures
  77.  */
  78. #ifdef VARIABLE_MACROS
  79.   #define _fRep (somThis->fRep)
  80. #endif
  81.  
  82.  
  83. /*
  84.  * Trace/Debug macro
  85.  */
  86. #ifndef FW_OFileSpecificationMethodDebug
  87. #define FW_OFileSpecificationMethodDebug(c,m) SOMMethodDebug(c,m)
  88. #endif
  89.  
  90. /*
  91.  * -- Method Macros for use in Method Procedures
  92.  */
  93. #ifdef METHOD_MACROS
  94.   #define _somInit somSelf->somInit
  95.   #define _somUninit somSelf->somUninit
  96.   #define _somDuplicateReference somSelf->somDuplicateReference
  97.   #define _somCompareReference somSelf->somCompareReference
  98.   #define _somRelease somSelf->somRelease
  99.   #define _somFree somSelf->somFree
  100.   #define _somCanDelete somSelf->somCanDelete
  101.   #define _somGetClass somSelf->somGetClass
  102.   #define _somGetClassName somSelf->somGetClassName
  103.   #define _somGetSize somSelf->somGetSize
  104.   #define _somIsA somSelf->somIsA
  105.   #define _somRespondsTo somSelf->somRespondsTo
  106.   #define _somIsInstanceOf somSelf->somIsInstanceOf
  107.   #define _somDispatch somSelf->somDispatch
  108.   #define _somClassDispatch somSelf->somClassDispatch
  109.   #define _somCastObj somSelf->somCastObj
  110.   #define _somResetObj somSelf->somResetObj
  111.   #define _somPrintSelf somSelf->somPrintSelf
  112.   #define _somDumpSelf somSelf->somDumpSelf
  113.   #define _somDumpSelfInt somSelf->somDumpSelfInt
  114.   #define _InitFromFileName somSelf->InitFromFileName
  115.   #define _InitFromDirectoryAndName somSelf->InitFromDirectoryAndName
  116.   #define _GetName somSelf->GetName
  117.   #define _GetParentDirectory somSelf->GetParentDirectory
  118.   #define _GetFullPath somSelf->GetFullPath
  119.   #define _IsSameAs somSelf->IsSameAs
  120.   #define _AssignOFileSpecification somSelf->AssignOFileSpecification
  121.   #define _AssignFileName somSelf->AssignFileName
  122.   #define _AssignFileSpec somSelf->AssignFileSpec
  123.   #define _MacGetFSSpec somSelf->MacGetFSSpec
  124.   #define _MacSetTypeAndCreator somSelf->MacSetTypeAndCreator
  125.   #define _MacGetTypeAndCreator somSelf->MacGetTypeAndCreator
  126.   #define _somInit somSelf->somInit
  127.   #define _somUninit somSelf->somUninit
  128. #endif
  129.  
  130.  
  131. /*
  132.  * Introduced methods
  133.  */
  134.  
  135. /* New Method: InitFromFileName */
  136. SOM_Scope void  SOMLINK FW_OFileSpecification__InitFromFileName(FW_OFileSpecification *somSelf, Environment *ev,
  137.         FW_HString fileName);
  138.  
  139. /* New Method: InitFromDirectoryAndName */
  140. SOM_Scope void  SOMLINK FW_OFileSpecification__InitFromDirectoryAndName(FW_OFileSpecification *somSelf, Environment *ev,
  141.         FW_ODirectorySpecification* directory,
  142.         FW_HString fileName);
  143.  
  144. /* New Method: GetName */
  145. SOM_Scope void  SOMLINK FW_OFileSpecification__GetName(FW_OFileSpecification *somSelf, Environment *ev,
  146.         FW_HString* fileName);
  147.  
  148. /* New Method: GetParentDirectory */
  149. SOM_Scope FW_ODirectorySpecification*  SOMLINK FW_OFileSpecification__GetParentDirectory(FW_OFileSpecification *somSelf, Environment *ev);
  150.  
  151. /* New Method: GetFullPath */
  152. SOM_Scope void  SOMLINK FW_OFileSpecification__GetFullPath(FW_OFileSpecification *somSelf, Environment *ev,
  153.         FW_HString* fullPathName);
  154.  
  155. /* New Method: IsSameAs */
  156. SOM_Scope FW_Boolean  SOMLINK FW_OFileSpecification__IsSameAs(FW_OFileSpecification *somSelf, Environment *ev,
  157.         FW_OFileSpecification* theOtherFile);
  158.  
  159. /* New Method: AssignOFileSpecification */
  160. SOM_Scope void  SOMLINK FW_OFileSpecification__AssignOFileSpecification(FW_OFileSpecification *somSelf, Environment *ev,
  161.         FW_OFileSpecification* theOtherFile);
  162.  
  163. /* New Method: AssignFileName */
  164. SOM_Scope void  SOMLINK FW_OFileSpecification__AssignFileName(FW_OFileSpecification *somSelf, Environment *ev,
  165.         FW_HString fileName);
  166.  
  167. /* New Method: AssignFileSpec */
  168. SOM_Scope void  SOMLINK FW_OFileSpecification__AssignFileSpec(FW_OFileSpecification *somSelf, Environment *ev,
  169.         FSSpec* macSpec);
  170.  
  171. /* New Method: MacGetFSSpec */
  172. SOM_Scope void  SOMLINK FW_OFileSpecification__MacGetFSSpec(FW_OFileSpecification *somSelf, Environment *ev,
  173.         FSSpec* macSpec);
  174.  
  175. /* New Method: MacSetTypeAndCreator */
  176. SOM_Scope void  SOMLINK FW_OFileSpecification__MacSetTypeAndCreator(FW_OFileSpecification *somSelf, Environment *ev,
  177.         FW_ResourceType aFileType,
  178.         FW_ResourceType aCreatorType);
  179.  
  180. /* New Method: MacGetTypeAndCreator */
  181. SOM_Scope void  SOMLINK FW_OFileSpecification__MacGetTypeAndCreator(FW_OFileSpecification *somSelf, Environment *ev,
  182.         FW_ResourceType* aFileType,
  183.         FW_ResourceType* aCreatorType);
  184.  
  185. /*
  186.  * Overridden methods
  187.  */
  188.  
  189. /* Overridden method: somInit */
  190. SOM_Scope void  SOMLINK FW_OFileSpecification__somInit(FW_OFileSpecification *somSelf);
  191. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OFileSpecification_somInit)(FW_OFileSpecification *somSelf);
  192. inline void  SOMLINK FW_OFileSpecification_parent_SOMObject_somInit(FW_OFileSpecification *somSelf)
  193. {
  194.   (void)         (somSelf);
  195. }
  196. #define FW_OFileSpecification_parents_somInit(arg0) \
  197.   (void) FW_OFileSpecification_parent_SOMObject_somInit(arg0)
  198.  
  199. /* Overridden method: somUninit */
  200. SOM_Scope void  SOMLINK FW_OFileSpecification__somUninit(FW_OFileSpecification *somSelf);
  201. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OFileSpecification_somUninit)(FW_OFileSpecification *somSelf);
  202. inline void  SOMLINK FW_OFileSpecification_parent_SOMObject_somUninit(FW_OFileSpecification *somSelf)
  203. {
  204.   (void)         (somSelf);
  205. }
  206. #define FW_OFileSpecification_parents_somUninit(arg0) \
  207.   (void) FW_OFileSpecification_parent_SOMObject_somUninit(arg0)
  208.  
  209. /*
  210.  * -- Primary Implementation File Support
  211.  */
  212. #if (defined(FW_OFileSpecification_Class_Source) || defined(SOM_Module_slfilesp_Source))
  213.  
  214. /*
  215.  * -- The FW_OFileSpecification ClassData Structure
  216.  */
  217.  
  218. #if PRAGMA_IMPORT_SUPPORTED
  219. #pragma export list FW_OFileSpecificationClassData
  220. #endif
  221.  
  222.  
  223. /*
  224.  * -- The FW_OFileSpecification Class Ancestor Table
  225.  */
  226. static somClassDataStructure * SOMDLINK FW_OFileSpecificationClassAncestors [] = {
  227.     (somClassDataStructure*) & SOMObjectClassData,    /* parent */
  228. };
  229.  
  230.  
  231. /*
  232.  * -- The FW_OFileSpecification Override ProcPtr Implementations Table
  233.  */
  234. static somMethodPtr FW_OFileSpecificationOverrideProcs [] = {
  235.     (somMethodPtr) FW_OFileSpecification__somInit,    /* override class SOMObject */
  236.     (somMethodPtr) FW_OFileSpecification__somUninit,    /* override class SOMObject */
  237. };
  238.  
  239.  
  240. static void FW_OFileSpecificationDLLD ( void ) { }
  241.  
  242.  
  243. /*
  244.  * -- The FW_OFileSpecification Static Class Info Master Table
  245.  */
  246. static somStaticClassInfo FW_OFileSpecificationSCI = {
  247.       70,    /* layout version */
  248.     (somClassDataStructure*)  & FW_OFileSpecificationClassData,    /* main token table */
  249.       FW_OFileSpecificationOverrideProcs,    /* override proc implemenations table */
  250.       FW_OFileSpecificationClassAncestors,    /* ancestor table */
  251.       FW_OFileSpecificationDLLD,    /* DLLdesignator */
  252.       0,    /* no special procs */
  253.       0,    /* rtci slot */
  254.       0,    /* count slot */
  255.       0,    /* dynamic ancestry */
  256.       0,    /* free */
  257.       0,    /* free */
  258.       0,    /* free */
  259.       0,    /* free */
  260.  
  261. /*
  262.  * -- The FW_OFileSpecification Counts Table
  263.  */
  264.     (somStaticClassCounts *)
  265.         "\x00\x00\x00\x01"    /* majorversion */
  266.         "\x00\x00\x00\x00"    /* minorversion */
  267.         "\x00\x00\x00\x01"    /* flags */
  268.             "\x00\x02"    /* type code alignment */
  269.             "\x00\x0e"    /* classTokenCount */
  270.             "\x00\x01"    /* numDirectParents */
  271.             "\x00\x00"    /* numMetaClasses */
  272.             "\x00\x01"    /* numOverriddenAncestors */
  273.             "\x00\x00"    /* numMigratedMethods */
  274.             "\x00\x00"    /* numSelectedInherited */
  275.             "\x00\x00"    /* numUnused */
  276.             "\x00\x00"    /* free */
  277.             "\x00\x00"    /* free */
  278.             "\x00\x00"    /* free */
  279.             "\x00"    /* free */
  280.                 ,
  281.  
  282.     {
  283.       "FW_OFileSpecification",    /* the class name */
  284.       sizeof (FW_OFileSpecificationData), /* class instance data size */
  285.  
  286. /*
  287.  * -- The FW_OFileSpecification Parent Versions Table
  288.  */
  289.     (somParentVersions *)
  290.         "\x00\x00\x00\x46"    /* majorversion */
  291.         "\x00\x00\x00\x01"    /* minorversion */
  292.                 ,
  293.  
  294.  
  295. /*
  296.  * -- The FW_OFileSpecification Token Slot Usage Table
  297.  */
  298.     (somSlotUsage *)
  299.         "\x33\x00\x00\x00\x00\x00",
  300.  
  301.  
  302. /*
  303.  * -- The FW_OFileSpecification Method Signature Info
  304.  */
  305.     (somSignatureInfo *)
  306.         "\x03\x07"    /* InitFromFileName */
  307.          "\x04\x07"    /* InitFromDirectoryAndName */
  308.          "\x03\x07"    /* GetName */
  309.          "\x02\x0c"    /* GetParentDirectory */
  310.          "\x03\x07"    /* GetFullPath */
  311.          "\x03\x00"    /* IsSameAs */
  312.          "\x03\x07"    /* AssignOFileSpecification */
  313.          "\x03\x07"    /* AssignFileName */
  314.          "\x03\x07"    /* AssignFileSpec */
  315.          "\x03\x07"    /* MacGetFSSpec */
  316.          "\x04\x07"    /* MacSetTypeAndCreator */
  317.          "\x04\x07"    /* MacGetTypeAndCreator */
  318.              ,
  319.  
  320.  
  321. /*
  322.  * -- The FW_OFileSpecification Class Method Names
  323.  */
  324.         "somInit\0"
  325.         "somUninit\0"
  326.         "InitFromFileName\0"
  327.         "InitFromDirectoryAndName\0"
  328.         "GetName\0"
  329.         "GetParentDirectory\0"
  330.         "GetFullPath\0"
  331.         "IsSameAs\0"
  332.         "AssignOFileSpecification\0"
  333.         "AssignFileName\0"
  334.         "AssignFileSpec\0"
  335.         "MacGetFSSpec\0"
  336.         "MacSetTypeAndCreator\0"
  337.         "MacGetTypeAndCreator\0"
  338.             ,
  339.  
  340.  
  341. /*
  342.  * -- The FW_OFileSpecification Override Slots Table
  343.  */
  344.     (somOverrideData *)
  345.         "\x00\x00\x00\x02"    /* parent SOMObject has 2 overrides */
  346.             "\x00\x00"    /* somInit */
  347.             "\x00\x01"    /* somUninit */
  348.                 ,
  349.  
  350.       0,    /* no migrated methods table */
  351.       0,    /* no selected inherited */
  352.       0,    /* unused */
  353.  
  354.       0,    /* free */
  355.       0,    /* free */
  356.       0,    /* free */
  357.       0,    /* free */
  358.     },
  359. };
  360.  
  361. /*
  362.  * -- The FW_OFileSpecification ClassData Structure
  363.  */
  364. struct FW_OFileSpecificationClassDataStructure SOMDLINK FW_OFileSpecificationClassData = {
  365.       0,            /* zero */
  366.     & FW_OFileSpecificationSCI,        /* SCI link */
  367.       0,            /* instanceDataToken */
  368.       0,            /* reserved */
  369.       0,            /* reserved */
  370.       0,            /* reserved */
  371.     (somMToken) 0,        /* somInit:empty */
  372.     (somMToken) 0,        /* somUninit:empty */
  373.     (somMToken) FW_OFileSpecification__InitFromFileName,    /* InitFromFileName:method */
  374.     (somMToken) FW_OFileSpecification__InitFromDirectoryAndName,    /* InitFromDirectoryAndName:method */
  375.     (somMToken) FW_OFileSpecification__GetName,    /* GetName:method */
  376.     (somMToken) FW_OFileSpecification__GetParentDirectory,    /* GetParentDirectory:method */
  377.     (somMToken) FW_OFileSpecification__GetFullPath,    /* GetFullPath:method */
  378.     (somMToken) FW_OFileSpecification__IsSameAs,    /* IsSameAs:method */
  379.     (somMToken) FW_OFileSpecification__AssignOFileSpecification,    /* AssignOFileSpecification:method */
  380.     (somMToken) FW_OFileSpecification__AssignFileName,    /* AssignFileName:method */
  381.     (somMToken) FW_OFileSpecification__AssignFileSpec,    /* AssignFileSpec:method */
  382.     (somMToken) FW_OFileSpecification__MacGetFSSpec,    /* MacGetFSSpec:method */
  383.     (somMToken) FW_OFileSpecification__MacSetTypeAndCreator,    /* MacSetTypeAndCreator:method */
  384.     (somMToken) FW_OFileSpecification__MacGetTypeAndCreator,    /* MacGetTypeAndCreator:method */
  385. };
  386.  
  387.  
  388. /*
  389.  * Functions for attributes.
  390.  */
  391.  
  392. /*
  393.  * Macros for initializers/destructors
  394.  */
  395.  
  396. #endif /* Primary Implementation Support */
  397.  
  398. #endif       /* SOM_FW_OFileSpecification_xih */
  399.  
  400. #ifndef SOM_FW_ODirectorySpecification_xih
  401. #define SOM_FW_ODirectorySpecification_xih
  402.  
  403. #include <somcls.xh>
  404. #include <somcm.xh>
  405.  
  406. /*
  407.  * Passthru lines: File: "C.xih", "before"
  408.  */
  409.  
  410.  
  411. #ifndef SOM_FW_ODirectorySpecification_xh
  412. #include <SLFileSp.xh>
  413. #endif
  414.  
  415. /*
  416.  * Set the scope of methods functions
  417.  */
  418. #ifndef SOM_Scope
  419. #define SOM_Scope extern "C"
  420. #endif
  421.  
  422. #define FW_ODirectorySpecification_MaxNoMethods 1
  423.  
  424. /*
  425.  * -- Instance Data
  426.  */
  427. typedef void FW_ODirectorySpecificationData;
  428.  
  429. /*
  430.  * Trace/Debug macro
  431.  */
  432. #ifndef FW_ODirectorySpecificationMethodDebug
  433. #define FW_ODirectorySpecificationMethodDebug(c,m) SOMMethodDebug(c,m)
  434. #endif
  435.  
  436. /*
  437.  * -- Method Macros for use in Method Procedures
  438.  */
  439. #ifdef METHOD_MACROS
  440.   #define _InitFromFileName somSelf->InitFromFileName
  441.   #define _InitFromDirectoryAndName somSelf->InitFromDirectoryAndName
  442.   #define _GetName somSelf->GetName
  443.   #define _GetParentDirectory somSelf->GetParentDirectory
  444.   #define _GetFullPath somSelf->GetFullPath
  445.   #define _IsSameAs somSelf->IsSameAs
  446.   #define _AssignOFileSpecification somSelf->AssignOFileSpecification
  447.   #define _AssignFileName somSelf->AssignFileName
  448.   #define _AssignFileSpec somSelf->AssignFileSpec
  449.   #define _MacGetFSSpec somSelf->MacGetFSSpec
  450.   #define _MacSetTypeAndCreator somSelf->MacSetTypeAndCreator
  451.   #define _MacGetTypeAndCreator somSelf->MacGetTypeAndCreator
  452.   #define _somInit somSelf->somInit
  453.   #define _somUninit somSelf->somUninit
  454.   #define _somInit somSelf->somInit
  455.   #define _somUninit somSelf->somUninit
  456.   #define _somDuplicateReference somSelf->somDuplicateReference
  457.   #define _somCompareReference somSelf->somCompareReference
  458.   #define _somRelease somSelf->somRelease
  459.   #define _somFree somSelf->somFree
  460.   #define _somCanDelete somSelf->somCanDelete
  461.   #define _somGetClass somSelf->somGetClass
  462.   #define _somGetClassName somSelf->somGetClassName
  463.   #define _somGetSize somSelf->somGetSize
  464.   #define _somIsA somSelf->somIsA
  465.   #define _somRespondsTo somSelf->somRespondsTo
  466.   #define _somIsInstanceOf somSelf->somIsInstanceOf
  467.   #define _somDispatch somSelf->somDispatch
  468.   #define _somClassDispatch somSelf->somClassDispatch
  469.   #define _somCastObj somSelf->somCastObj
  470.   #define _somResetObj somSelf->somResetObj
  471.   #define _somPrintSelf somSelf->somPrintSelf
  472.   #define _somDumpSelf somSelf->somDumpSelf
  473.   #define _somDumpSelfInt somSelf->somDumpSelfInt
  474.   #define _AppendDirectoryName somSelf->AppendDirectoryName
  475.   #define _somInit somSelf->somInit
  476.   #define _GetFullPath somSelf->GetFullPath
  477. #endif
  478.  
  479.  
  480. /*
  481.  * Introduced methods
  482.  */
  483.  
  484. /* New Method: AppendDirectoryName */
  485. SOM_Scope void  SOMLINK FW_ODirectorySpecification__AppendDirectoryName(FW_ODirectorySpecification *somSelf, Environment *ev,
  486.         FW_HString directoryName);
  487.  
  488. /*
  489.  * Overridden methods
  490.  */
  491.  
  492. /* Overridden method: somInit */
  493. SOM_Scope void  SOMLINK FW_ODirectorySpecification__somInit(FW_ODirectorySpecification *somSelf);
  494. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_ODirectorySpecification_somInit)(FW_ODirectorySpecification *somSelf);
  495. inline void  SOMLINK FW_ODirectorySpecification_parent_FW_OFileSpecification_somInit(FW_ODirectorySpecification *somSelf)
  496. {
  497.   (void)         (somSelf);
  498. }
  499. #define FW_ODirectorySpecification_parents_somInit(arg0) \
  500.   (void) FW_ODirectorySpecification_parent_FW_OFileSpecification_somInit(arg0)
  501.  
  502. /* Overridden method: GetFullPath */
  503. SOM_Scope void  SOMLINK FW_ODirectorySpecification__GetFullPath(FW_ODirectorySpecification *somSelf, Environment *ev,
  504.         FW_HString* fullPathName);
  505. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_ODirectorySpecification_GetFullPath)(FW_ODirectorySpecification *somSelf, Environment *ev,
  506.         FW_HString* fullPathName);
  507. inline void  SOMLINK FW_ODirectorySpecification_parent_FW_OFileSpecification_GetFullPath(FW_ODirectorySpecification *somSelf, Environment *ev,
  508.     FW_HString* fullPathName)
  509. {
  510.   ((somTD_xih_FW_ODirectorySpecification_GetFullPath)
  511.     somParentNumResolve((somClassDataStructure*)&FW_ODirectorySpecificationClassData, 1, FW_OFileSpecificationClassData.GetFullPath))
  512.         (somSelf,ev,fullPathName);
  513. #ifdef SOMCHKEXCEPT
  514.   SOMCHKEXCEPT;
  515. #endif
  516. }
  517. #define FW_ODirectorySpecification_parents_GetFullPath(arg0,arg1,arg2) \
  518.   (void) FW_ODirectorySpecification_parent_FW_OFileSpecification_GetFullPath(arg0,arg1,arg2)
  519.  
  520. /*
  521.  * -- Primary Implementation File Support
  522.  */
  523. #if (defined(FW_ODirectorySpecification_Class_Source) || defined(SOM_Module_slfilesp_Source))
  524.  
  525. /*
  526.  * -- The FW_ODirectorySpecification ClassData Structure
  527.  */
  528.  
  529. #if PRAGMA_IMPORT_SUPPORTED
  530. #pragma export list FW_ODirectorySpecificationClassData
  531. #endif
  532.  
  533.  
  534. /*
  535.  * -- The FW_ODirectorySpecification Class Ancestor Table
  536.  */
  537. static somClassDataStructure * SOMDLINK FW_ODirectorySpecificationClassAncestors [] = {
  538.     (somClassDataStructure*) & FW_OFileSpecificationClassData,    /* parent */
  539.     (somClassDataStructure*) & SOMObjectClassData,    /* ancestor */
  540. };
  541.  
  542.  
  543. /*
  544.  * -- The FW_ODirectorySpecification Override ProcPtr Implementations Table
  545.  */
  546. static somMethodPtr FW_ODirectorySpecificationOverrideProcs [] = {
  547.     (somMethodPtr) FW_ODirectorySpecification__GetFullPath,    /* override class FW_OFileSpecification */
  548.     (somMethodPtr) FW_ODirectorySpecification__somInit,    /* override class SOMObject */
  549. };
  550.  
  551.  
  552. static void FW_ODirectorySpecificationDLLD ( void ) { }
  553.  
  554.  
  555. /*
  556.  * -- The FW_ODirectorySpecification Static Class Info Master Table
  557.  */
  558. static somStaticClassInfo FW_ODirectorySpecificationSCI = {
  559.       70,    /* layout version */
  560.     (somClassDataStructure*)  & FW_ODirectorySpecificationClassData,    /* main token table */
  561.       FW_ODirectorySpecificationOverrideProcs,    /* override proc implemenations table */
  562.       FW_ODirectorySpecificationClassAncestors,    /* ancestor table */
  563.       FW_ODirectorySpecificationDLLD,    /* DLLdesignator */
  564.       0,    /* no special procs */
  565.       0,    /* rtci slot */
  566.       0,    /* count slot */
  567.       0,    /* dynamic ancestry */
  568.       0,    /* free */
  569.       0,    /* free */
  570.       0,    /* free */
  571.       0,    /* free */
  572.  
  573. /*
  574.  * -- The FW_ODirectorySpecification Counts Table
  575.  */
  576.     (somStaticClassCounts *)
  577.         "\x00\x00\x00\x01"    /* majorversion */
  578.         "\x00\x00\x00\x00"    /* minorversion */
  579.         "\x00\x00\x00\x01"    /* flags */
  580.             "\x00\x00"    /* type code alignment */
  581.             "\x00\x01"    /* classTokenCount */
  582.             "\x00\x01"    /* numDirectParents */
  583.             "\x00\x00"    /* numMetaClasses */
  584.             "\x00\x02"    /* numOverriddenAncestors */
  585.             "\x00\x00"    /* numMigratedMethods */
  586.             "\x00\x00"    /* numSelectedInherited */
  587.             "\x00\x00"    /* numUnused */
  588.             "\x00\x00"    /* free */
  589.             "\x00\x00"    /* free */
  590.             "\x00\x00"    /* free */
  591.             "\x00"    /* free */
  592.                 ,
  593.  
  594.     {
  595.       "FW_ODirectorySpecification",    /* the class name */
  596.       0, /* no class instance data */
  597.  
  598. /*
  599.  * -- The FW_ODirectorySpecification Parent Versions Table
  600.  */
  601.     (somParentVersions *)
  602.         "\x00\x00\x00\x01"    /* majorversion */
  603.         "\x00\x00\x00\x00"    /* minorversion */
  604.                 ,
  605.  
  606.  
  607. /*
  608.  * -- The FW_ODirectorySpecification Token Slot Usage Table
  609.  */
  610.     (somSlotUsage *)
  611.         "",
  612.  
  613.  
  614. /*
  615.  * -- The FW_ODirectorySpecification Method Signature Info
  616.  */
  617.     (somSignatureInfo *)
  618.         "\x03\x07"    /* AppendDirectoryName */
  619.              ,
  620.  
  621.  
  622. /*
  623.  * -- The FW_ODirectorySpecification Class Method Names
  624.  */
  625.         "AppendDirectoryName\0"
  626.             ,
  627.  
  628.  
  629. /*
  630.  * -- The FW_ODirectorySpecification Override Slots Table
  631.  */
  632.     (somOverrideData *)
  633.         "\x00\x00\x00\x01"    /* parent FW_OFileSpecification has 1 overrides */
  634.             "\x00\x06"    /* GetFullPath */
  635.         "\x00\x01\x00\x01"    /* parent SOMObject has 1 overrides */
  636.             "\x00\x00"    /* somInit */
  637.                 ,
  638.  
  639.       0,    /* no migrated methods table */
  640.       0,    /* no selected inherited */
  641.       0,    /* unused */
  642.  
  643.       0,    /* free */
  644.       0,    /* free */
  645.       0,    /* free */
  646.       0,    /* free */
  647.     },
  648. };
  649.  
  650. /*
  651.  * -- The FW_ODirectorySpecification ClassData Structure
  652.  */
  653. struct FW_ODirectorySpecificationClassDataStructure SOMDLINK FW_ODirectorySpecificationClassData = {
  654.       0,            /* zero */
  655.     & FW_ODirectorySpecificationSCI,        /* SCI link */
  656.       0,            /* instanceDataToken */
  657.       0,            /* reserved */
  658.       0,            /* reserved */
  659.       0,            /* reserved */
  660.     (somMToken) FW_ODirectorySpecification__AppendDirectoryName,    /* AppendDirectoryName:method */
  661. };
  662.  
  663.  
  664. /*
  665.  * Functions for attributes.
  666.  */
  667.  
  668. /*
  669.  * Macros for initializers/destructors
  670.  */
  671.  
  672. #endif /* Primary Implementation Support */
  673.  
  674. #endif       /* SOM_FW_ODirectorySpecification_xih */
  675.